<template>
  <div>
    <!-- <h1>带底部导航的入口</h1> -->
    <router-view></router-view>

    <van-tabbar active-color="#ee0a24" inactive-color="#000" route>
      <van-tabbar-item icon="home-o" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search">分类</van-tabbar-item>
      <van-tabbar-item icon="friends-o">购物车</van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/personal"
        >个人中心</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>
